﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.SharePoint.Administration.Health;

namespace SDS.SPHealthAnalyzerRules.Delegation.Tests.Rules
{
    public class Base
    {
        protected string TestHealthRule_Message(SPHealthAnalysisRule healthRule)
        {
            return String.Format(
                                @"{0}" +
                                @"{0}" +
                                @"{0}-----Summary----" +
                                @"{0}{1}" +
                                @"{0}-----Explanation-----" +
                                @"{0}{2}" +
                                @"{0}-----Remedy-----" +
                                @"{0}{3}" +
                                @"{0}" +
                                @"{0}"
                                ,
                                Environment.NewLine,
                                healthRule.Summary,
                                healthRule.Explanation,
                                healthRule.Remedy);
        }

    } // class
} // namespace